package top.syfy.bili.fbm.entry;

import java.io.Serializable;
import java.util.List;

/**
 * 缓存专辑的实体（具体的信息见每个缓存目录下的 entry.json 文件）
 *
 * @author syfy
 * @date 2021/02/01
 */
public class Entry implements Serializable {

    private static final long serialVersionUID = 2228051481179801987L;

    /* 视频的AV号，唯一 */
    private String avId;

    /* 视频的BV号，唯一 */
    private String bvId;

    /* 缓存文件的专辑名（如某部动漫的名称） */
    private String title;

    /* 缓存的视频质量 */
    private Integer videoQuality;

    /* 缓存文件的文件信息 */
    private List<PageData> pds;

    public Entry() {}

    public String getAvId() {
        return avId;
    }

    public void setAvId(String avId) {
        this.avId = avId;
    }

    public String getBvId() {
        return bvId;
    }

    public void setBvId(String bvId) {
        this.bvId = bvId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getVideoQuality() {
        return videoQuality;
    }

    public void setVideoQuality(Integer videoQuality) {
        this.videoQuality = videoQuality;
    }

    public List<PageData> getPds() {
        return pds;
    }

    public void setPds(List<PageData> pds) {
        this.pds = pds;
    }

    @Override
    public String toString() {
        return "Entry{" +
            "avId='" + avId + '\'' +
            ", bvId='" + bvId + '\'' +
            ", title='" + title + '\'' +
            ", videoQuality=" + videoQuality +
            ", pds=" + pds +
            '}';
    }
}
